<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Typography 字体 | MyUI 4.x</title>
    <meta name="generator" content="VuePress 1.5.4">
    <link rel="icon" href="/my/favicon.ico">
    <script>
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?c4e5f73318b5cb0c389e3d9a05f831cc";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
    <meta name="description" content="MyUI是美亚柏科旗下新德汇出品的Web前端一站式项目工程框架，专注于公检法行业中台系统快速搭建，框架已在多个项目实战检验。">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link rel="preload" href="/my/assets/css/0.styles.810d4cba.css" as="style"><link rel="preload" href="/my/assets/js/app.2dbd0b81.js" as="script"><link rel="preload" href="/my/assets/js/493.009afff8.js" as="script"><link rel="preload" href="/my/assets/js/1343.e8513265.js" as="script"><link rel="preload" href="/my/assets/js/864.cc4a666a.js" as="script"><link rel="preload" href="/my/assets/js/1073.f195326c.js" as="script"><link rel="preload" href="/my/assets/js/1170.9bd3ec73.js" as="script">
    <link rel="stylesheet" href="/my/assets/css/0.styles.810d4cba.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/my/" class="home-link router-link-active"><img src="/my/img/logo.png" alt="MyUI 4.x" class="logo"> <span class="site-name can-hide">MyUI 4.x</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><a href="http://newgateway.gitee.io/my-web/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  演示
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow down"></span></button> <button type="button" aria-label="JSDoc" class="mobile-dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><a href="http://newgateway.gitee.io/my-web/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  演示
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow down"></span></button> <button type="button" aria-label="JSDoc" class="mobile-dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li></ul></div></div> <!----></nav>  <ul class="sidebar-links"><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Basic</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/my/element/border.html" class="sidebar-link">Border 边框</a></li><li><a href="/my/element/button.html" class="sidebar-link">Button 按钮</a></li><li><a href="/my/element/color.html" class="sidebar-link">Color 色彩</a></li><li><a href="/my/element/container.html" class="sidebar-link">Container 布局容器</a></li><li><a href="/my/element/icon.html" class="sidebar-link">Icon 图标</a></li><li><a href="/my/element/layout.html" class="sidebar-link">Layout 布局</a></li><li><a href="/my/element/link.html" class="sidebar-link">Link 文字链接</a></li><li><a href="/my/element/typography.html" aria-current="page" class="active sidebar-link">Typography 字体</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/my/element/typography.html#字体" class="sidebar-link">字体</a></li><li class="sidebar-sub-header"><a href="/my/element/typography.html#字号" class="sidebar-link">字号</a></li><li class="sidebar-sub-header"><a href="/my/element/typography.html#行高" class="sidebar-link">行高</a></li><li class="sidebar-sub-header"><a href="/my/element/typography.html#font-family-代码" class="sidebar-link">Font-family 代码</a></li></ul></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Form</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Data</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Notice</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Navigation</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Others</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="typography-字体"><a href="#typography-字体" class="header-anchor">#</a> Typography 字体</h1> <p>我们对字体进行统一规范，力求在各个操作系统下都有最佳展示效果。</p> <h2 id="字体"><a href="#字体" class="header-anchor">#</a> 字体</h2> <div class="demo-term-box" data-v-524ae62e><img src="/my/assets/img/term-pingfang.ff055484.png" alt data-v-524ae62e> <img src="/my/assets/img/term-hiragino.6393e863.png" alt data-v-524ae62e> <img src="/my/assets/img/term-microsoft.6ceea751.png" alt data-v-524ae62e> <img src="/my/assets/img/term-sf.60797433.png" alt data-v-524ae62e> <img src="/my/assets/img/term-helvetica.6f9038cb.png" alt data-v-524ae62e> <img src="/my/assets/img/term-arial.c41b4cbd.png" alt data-v-524ae62e></div> <h2 id="字号"><a href="#字号" class="header-anchor">#</a> 字号</h2> <table class="demo-typo-size" data-v-6bca6015><tbody data-v-6bca6015><tr data-v-6bca6015><td data-v-6bca6015>层级</td> <td data-v-6bca6015>字体大小</td> <td class="color-dark-light" data-v-6bca6015>举例</td></tr> <tr style="font-size:12px;" data-v-6bca6015><td data-v-6bca6015>辅助文字</td> <td class="color-dark-light" data-v-6bca6015>12px Extra Small</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr> <tr style="font-size:13px;" data-v-6bca6015><td data-v-6bca6015>正文（小）</td> <td class="color-dark-light" data-v-6bca6015>13px Small</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr> <tr style="font-size:14px;" data-v-6bca6015><td data-v-6bca6015>正文</td> <td class="color-dark-light" data-v-6bca6015>14px Base</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr> <tr style="font-size:16px;" data-v-6bca6015><td data-v-6bca6015>小标题</td> <td class="color-dark-light" data-v-6bca6015>16px Medium</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr> <tr style="font-size:18px;" data-v-6bca6015><td data-v-6bca6015>标题</td> <td class="color-dark-light" data-v-6bca6015>18px large</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr> <tr style="font-size:20px;" data-v-6bca6015><td data-v-6bca6015>主标题</td> <td class="color-dark-light" data-v-6bca6015>20px Extra large</td> <td data-v-6bca6015>用 Element 快速搭建页面</td></tr></tbody></table> <h2 id="行高"><a href="#行高" class="header-anchor">#</a> 行高</h2> <div data-v-6d6a02bb><img src="" class="lineH-left" data-v-6d6a02bb> <ul class="lineH-right" data-v-6d6a02bb><li data-v-6d6a02bb>line-height:1 <span data-v-6d6a02bb>无行高</span></li> <li data-v-6d6a02bb>line-height:1.3 <span data-v-6d6a02bb>紧凑</span></li> <li data-v-6d6a02bb>line-height:1.5 <span data-v-6d6a02bb>常规</span></li> <li data-v-6d6a02bb>line-height:1.7 <span data-v-6d6a02bb>宽松</span></li></ul></div> <h2 id="font-family-代码"><a href="#font-family-代码" class="header-anchor">#</a> Font-family 代码</h2> <div class="language-math line-numbers-mode"><pre class="language-text"><code>font-family: &quot;Helvetica Neue&quot;,Helvetica,&quot;PingFang SC&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei&quot;,&quot;微软雅黑&quot;,Arial,sans-serif;
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/my/element/link.html" class="prev">
        Link 文字链接
      </a></span> <span class="next"><a href="/my/element/cascader.html">
        Cascader 级联选择器
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/my/assets/js/app.2dbd0b81.js" defer></script><script src="/my/assets/js/493.009afff8.js" defer></script><script src="/my/assets/js/1343.e8513265.js" defer></script><script src="/my/assets/js/864.cc4a666a.js" defer></script><script src="/my/assets/js/1073.f195326c.js" defer></script><script src="/my/assets/js/1170.9bd3ec73.js" defer></script>
  </body>
</html>
